package app.fugema.shop.main.goods.adapter;


import android.view.View;

import com.base.common.view.adapter.ada.BaseRVAdapter;
import com.base.common.view.adapter.ada.SingleRecyclerAdapter;
import app.fugema.shop.databinding.GoodsClassifyLeftItemBinding;

import app.fugema.shop.R;
import app.fugema.shop.main.goods.model.CategoryLeftBean;

public class GoodsClassifyLeftAdapter extends SingleRecyclerAdapter<CategoryLeftBean, GoodsClassifyLeftItemBinding> {


    @Override
    public int getLayoutId() {
        return R.layout.goods_classify_left_item;
    }


    @Override
    public void onItemClick(View view, BaseRVAdapter adapter, int onclickType, int position, CategoryLeftBean bean) {
        super.onItemClick(view, adapter, onclickType, position, bean);
        setSelectPosition(position);
    }
}
